package itdfq.ydd.Structural_Patterns.danli;

/**
 * @Author GocChin
 * @Date 2021/5/3 16:37
 * @Blog: itdfq.com
 * @QQ: 909256107
 */
public class Client {
    public static void main(String[] args) {
        System.out.println("18031210136  杨丹丹");
        AbstractPhone abstractPhone;
        abstractPhone= (AbstractPhone) XMLUtil.getBean();
        abstractPhone.sell();
        System.out.println("---------------------------------------");
        abstractPhone.set(1);
        abstractPhone.sell();
    }
}
